home *** CD-ROM | disk | FTP | other *** search
- October 23, 1989
-
- ASCII File Text Printer
-
- Written using Personal Pascal 2.0
-
- by
-
- Michael Shallop
-
-
- Disclaimer:
- -----------
-
- When you execute the file TEXT_PTR.PRG for the first time it
- is assumed that you have read this documentation and have agreed to
- this disclaimer.
- TEXT_PTR.PRG does access your disk, but there is no code which
- allows any media to be altered in any way from its original state. Nor
- are any other write routines supported in the code. TEXT_PTR.PRG is a
- read-only application.
- I cannot be responsible for any damage to your system that may
- result from misuse or abuse of the program.
- You may distribute this program freely, using any means at your
- disposal, as long as this documentation file accompanies the program.
-
- THIS PROGRAM IS PUBLIC DOMAIN SOFTWARE
-
- Comments or feedback may be addressed to the author by sending
- correspondence to:
- Michael Shallop
- 2204 Lydia Lane Lot #4
- Stillwater, OK 74074
- GEnie mail address:
- M.SHALLOP
-
-
-
- Documentation:
- --------------
-
- TEXT_PTR.PRG is a file which will access an ASCII file from
- external storage and reproduce said file to your printer. Accordingly,
- you must have some sort of external storage device active and recognized
- on your system, and, also recognized by your system, some sort of
- printing device. TEXT_PTR.PRG will run on color an mono systems of any
- configuration.
-
- Overview:
-
- TEXT_PTR.PRG will access an ASCII file and replicate the file to
- a printer. The only modifications that the program uses will strip any
- and all carriage_returns from the ASCII file. This was done for output
- consistency and format. TEXT_PTR.PRG will print 53 lines of text per
- 66 line page. Subroutines in the hardcode will automatically "paginate"
- over the continuous_feed perforations.
-
- Options:
-
- This program is *fast*! Methods of accessing data utilize the
- full printing speed capability of your printer. If however, your
- printer has some problem in 'keeping-up', there is a solution: Within
- the program, an alert box will ask you if you wish to
-
- "Echo Print to Screen?"
-
- This will simultaneously dump data to the crt as it is sent to
- the printer. It was not formatted so that you may read it; the commands
- in the code which causes the printer to paginate will cause the screen
- to be cleared. Using this option will slow down the data stream somewhat.
-
- If you have a need for printing in more than 80 columns, there
- is an option to select condensed print pitch. An alert box will appear
- and ask you:
-
- "Condensed Print Pitch?"
-
- This will set the printer to condensed_print_pitch mode and
- will remain in this mode until the file has been finished printing.
- The printer is reset to normal mode, so if you want to print two files
- in condensed pitch, you must select this option twice. The program uses
- EPSON (tm) and compatible escape code sequences. Sorry to those that
- have print devices not supporting this format.
-
- When you first load the program, after the modest credit (ahem),
- the program will ask you for a root directory:
-
- "Choose Drive/Partition
- where file is located:"
-
- You have one of three options at this point: Drive A, Drive B,
- or Drive C. Drive C should ALWAYS be used when the file is on hard
- storage. I recommend that you use a third-party file selector box, or
- upgrade to Rainbow TOS which will allow you to easily change partitions.
-
- WARNING: The program does not check to see if the file selected is a
- valid ascii text file!
-
- Finally, after printing has been completed, you are asked if
- you would like to print another file...responding yes wil place you at
- the file selector box while no will return you to the desktop.
-
-
- Final Notes:
-
- This program does work as advertised. I have used it with
- foppy, hard and ram storage. With TOS 1.0 and TOS 1.4. It will work
- with most print spoolers.
-
- Updates:
-
- As I get time. Being a full_time comsci student, I don't
- have much of that precious commodity. I wrote this program in an
- afternoon and left it on a local bbs for beta testing. After
- implementation of user suggestiosn, I hot footed it out to you, the
- user base. I will implement other suggestions if I feel that they will
- enhance the program. Keep in mind that this is not an attempt at a
- commercial package - it's another one of my "quick and dirty" solutions!
-
- Source Code:
-
- It's available if you want it. Send me a buck and I'll mail
- you a copy of the pascal source. Some of the routines are interesting.
-
- Good luck! Good Computing!
-
-
- Call Twisted Systems BBS - Home of Cosmic Conquest!
- (405) 743 - 0917
-
-